package org.rbac.po;

import java.util.HashSet;
import java.util.Set;

/**
 * PermissionAuthority entity. @author MyEclipse Persistence Tools
 */

public class PermissionAuthority implements java.io.Serializable {

	// Fields

	/**
     * 
     */
    private static final long serialVersionUID = 1L;
    private Integer id;
	private String AName;
	private Integer AParentid;
	private Integer AOrder;
	private String ARemarks;
	private Short AStatus;
	private Set permissionAuthorityRefRoles = new HashSet(0);
	private Set permissionAuthorityResources = new HashSet(0);

	// Constructors

	/** default constructor */
	public PermissionAuthority() {
	}

	/** minimal constructor */
	public PermissionAuthority(String AName) {
		this.AName = AName;
	}

	/** full constructor */
	public PermissionAuthority(String AName, Integer AParentid, Integer AOrder,
			String ARemarks, Short AStatus, Set permissionAuthorityRefRoles,
			Set permissionAuthorityResources) {
		this.AName = AName;
		this.AParentid = AParentid;
		this.AOrder = AOrder;
		this.ARemarks = ARemarks;
		this.AStatus = AStatus;
		this.permissionAuthorityRefRoles = permissionAuthorityRefRoles;
		this.permissionAuthorityResources = permissionAuthorityResources;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAName() {
		return this.AName;
	}

	public void setAName(String AName) {
		this.AName = AName;
	}

	public Integer getAParentid() {
		return this.AParentid;
	}

	public void setAParentid(Integer AParentid) {
		this.AParentid = AParentid;
	}

	public Integer getAOrder() {
		return this.AOrder;
	}

	public void setAOrder(Integer AOrder) {
		this.AOrder = AOrder;
	}

	public String getARemarks() {
		return this.ARemarks;
	}

	public void setARemarks(String ARemarks) {
		this.ARemarks = ARemarks;
	}

	public Short getAStatus() {
		return this.AStatus;
	}

	public void setAStatus(Short AStatus) {
		this.AStatus = AStatus;
	}

	public Set getPermissionAuthorityRefRoles() {
		return this.permissionAuthorityRefRoles;
	}

	public void setPermissionAuthorityRefRoles(Set permissionAuthorityRefRoles) {
		this.permissionAuthorityRefRoles = permissionAuthorityRefRoles;
	}

	public Set getPermissionAuthorityResources() {
		return this.permissionAuthorityResources;
	}

	public void setPermissionAuthorityResources(Set permissionAuthorityResources) {
		this.permissionAuthorityResources = permissionAuthorityResources;
	}

}